package com.example.demo.model;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class Dog {

    @Schema(description = "主键id", example = "523")
    private Integer       id;

    @Schema(description = "名称", example = "小黑")
    private String        name;

    @Schema(description = "尺寸", example = "3.121236524525")
    private BigDecimal    size;

    @Schema(description = "时间", example = "2024-09-09 10:11:12")
    private LocalDateTime time;

}
